.school-search-container {
  width: 100%;
  height: fit-content;
  padding: 30rpx 0 20rpx 0;

  .input-container {
    width: 100%;
    height: 70rpx;
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    padding: 0 40rpx;

    .input {
      width: calc(100% - 90rpx);
      height: 100%;
      flex-shrink: 0;
      display: flex;
      flex-direction: row;
      padding: 0 20rpx;
      background-color: #f1f1f1;
      border-radius: 50rpx;
      overflow: hidden;
      transition-property: width;
      transition-duration: 500ms;

      .fa {
        margin-right: 20rpx;
        font-size: 36rpx;
        line-height: 70rpx;
        color: #aaa;
      }

      input {
        width: 100%;
        height: 70rpx;
        font-size: 28rpx;
        line-height: 70rpx;
        color: #333;
      }
    }

    .cancel-btn {
      width: 90rpx;
      height: 100%;
      padding-left: 30rpx;
      font-size: 30rpx;
      color: #888;
      line-height: 70rpx;
      overflow: hidden;
      transition-property: opacity;
      transition-duration: 500ms;
      transition-delay: 500ms;
    }
  }
}

.result-container {
  width: 100%;
  height: 100%;
  padding: 0 40rpx;

  .result-scroll-view {
    width: 100%;
    height: 100%;

    ::-webkit-scrollbar {
      width: 0;
      height: 0;
      color: transparent;
    }

    .school {
      width: 100%;
      height: 90rpx;
      display: flex;
      flex-direction: row;
      align-items: center;
      border-top: 2rpx solid #f6f6f6;

      .school-name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 30rpx;
        color: #333;
      }

      &:first-child {
        border-top: 0 !important;
      }
    }

    .no-result {
      height: fit-content;
      width: 100%;
      margin-top: 50rpx;
      padding-bottom: 70rpx;
      background-color: #fff;
      border-radius: 30rpx;
      color: $uni-text-color-placeholder;
      font-size: 26rpx;
      text-align: center;

      text {
        margin-left: 10rpx;
      }
    }

    .safe-area {
      width: 100%;
      height: 0;
      height: calc(constant(safe-area-inset-bottom));
      height: calc(env(safe-area-inset-bottom));
    }
  }
}